import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /project/getAbstract/{id}
 */
export function postProjectGetAbstractById(params: PostProjectGetAbstractByIdParams, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<any>>(`/project/getAbstract/${params.id}`, config);
}

export interface PostProjectGetAbstractByIdParams {
    id: number;
}
